﻿using System;
namespace Catering_Model
{
	/// <summary>
	/// Recipes:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class E_Recipes
	{
		public E_Recipes()
		{}

        #region Model
        private int _id;
        private string _cateringname;
        private int _classid;
        private int _groupid;
        private int _pid;
        private DateTime _statedate;
        private DateTime _stopdate;
        private int? _number;
        private string _back;
        private int? _areaid;
        private int _classids;
        private string _temp1;
        private string _temp2;
        private bool? _isbiaozhun;
        private int? _editpersonnelid;
        private DateTime? _edittime;
        /// <summary>
        /// 食谱ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 食谱名称
        /// </summary>
        public string CateringName
        {
            set { _cateringname = value; }
            get { return _cateringname; }
        }
        /// <summary>
        /// 班组ID
        /// </summary>
        public int ClassID
        {
            set { _classid = value; }
            get { return _classid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int GroupID
        {
            set { _groupid = value; }
            get { return _groupid; }
        }
        /// <summary>
        /// 配餐类型（0：群体配餐 1：个人配餐）
        /// </summary>
        public int PID
        {
            set { _pid = value; }
            get { return _pid; }
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StateDate
        {
            set { _statedate = value; }
            get { return _statedate; }
        }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime StopDate
        {
            set { _stopdate = value; }
            get { return _stopdate; }
        }
        /// <summary>
        /// 配餐总人数
        /// </summary>
        public int? Number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Back
        {
            set { _back = value; }
            get { return _back; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? AreaID
        {
            set { _areaid = value; }
            get { return _areaid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ClassIDs
        {
            set { _classids = value; }
            get { return _classids; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string temp1
        {
            set { _temp1 = value; }
            get { return _temp1; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string temp2
        {
            set { _temp2 = value; }
            get { return _temp2; }
        }
        /// <summary>
        /// 是否为标准食谱
        /// </summary>
        public bool? IsBiaoZhun
        {
            set { _isbiaozhun = value; }
            get { return _isbiaozhun; }
        }
        /// <summary>
        /// 编辑人ID
        /// </summary>
        public int? EditPersonnelID
        {
            set { _editpersonnelid = value; }
            get { return _editpersonnelid; }
        }
        /// <summary>
        /// 添加修改时间
        /// </summary>
        public DateTime? EditTime
        {
            set { _edittime = value; }
            get { return _edittime; }
        }
        #endregion Model

        #region 扩展属性
        /// <summary>
        /// 编辑人名称
        /// </summary>
        public string EditPersonnelName { get; set; }

        #endregion

    }
}

